package models

//用户
type User struct {
	Id int32 `gorm:"column:user_id;primaryKey"`
	Name string `valid:"Required;MinSize(4);MaxSize(12)"`
	Phone string `valid:"Mobile;Required"`
	Email string `valid:"Email;MaxSize(50)"`
	Pwd string `valid:"Required;MinSize(4);MaxSize(6)"`
	ConfirePwd string `gorm:"-" valid:"Required;MinSize(4);MaxSize(6)"`
	RegTime int64
}

